<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>点灯</title>
    <style>
    body{
        background-color: black;
    }
    ul>li{
        width: 200px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        border:1px dashed white;
        margin-bottom: 20px;
        font-size: 18px;
        transition: all 2s linear;
    }
    li:hover{
        background-color: skyblue;
        color: white;
    }
    </style>
</head>
<body>
    <ul>
        <li>菜单</li>
        <li>菜单</li>
        <li>菜单</li>
        <li>菜单</li>
        <li>菜单</li>
        <li>菜单</li>
        <li>菜单</li>
        <li>菜单</li>
    </ul>
</body>
</html>